package com.arong.swing.db.entity;

import java.io.Serializable;
import java.sql.Blob;
import java.sql.Timestamp;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

public class CrHcManagement implements Serializable{ 

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String id;

	private String hcjlId;

	private String checkeventId;

	private String type;

	private String zjhm;

	private Timestamp pckssj;

	private byte[] xcspypzl;

	private String czfs;

	private String descCorr;

	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return id;
	}

	public void setHcjlId(String hcjlId) {
		this.hcjlId = hcjlId;
	}
	
	public String getHcjlId() {
		return hcjlId;
	}

	public void setCheckeventId(String checkeventId) {
		this.checkeventId = checkeventId;
	}
	
	public String getCheckeventId() {
		return checkeventId;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getType() {
		return type;
	}

	public void setZjhm(String zjhm) {
		this.zjhm = zjhm;
	}
	
	public String getZjhm() {
		return zjhm;
	}

	public void setPckssj(Timestamp pckssj) {
		this.pckssj = pckssj;
	}
	
	public Timestamp getPckssj() {
		return pckssj;
	}

	public byte[] getXcspypzl() {
		return xcspypzl;
	}

	public void setXcspypzl(byte[] xcspypzl) {
		this.xcspypzl = xcspypzl;
	}

	public void setCzfs(String czfs) {
		this.czfs = czfs;
	}
	
	public String getCzfs() {
		return czfs;
	}

	public void setDescCorr(String descCorr) {
		this.descCorr = descCorr;
	}
	
	public String getDescCorr() {
		return descCorr;
	}

	public boolean equals(Object obj) {
		boolean equals = false;
		if (obj != null && obj instanceof CrHcManagement) {
			CrHcManagement another = (CrHcManagement) obj;
			equals = new EqualsBuilder()
					.append(id, another.getId())
					.isEquals();
		}
		return equals;
	}
	
	public int hashCode() {
		return new HashCodeBuilder(17, 37)
				.append(id)
				.toHashCode();
	}
	
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", getId())
				.toString();
	}
}